USE [tempdb]
GO
CHECKPOINT
GO
DBCC FREEPROCCACHE
GO
DBCC SHRINKFILE (TEMPDEV, 1024)
GO


USE [tempdb]
GO
DBCC SHRINKFILE (N'tempdev' , EMPTYFILE)
GO
